import Vue from 'vue';
// import { Button, Stepper, Cell, CellGroup } from 'vant';


// import 'vant/lib/index.css'; // 这是整个ui框架里面的都导入

// 按需导入
// import 'vant/lib/button/style';
// import 'vant/lib/stepper/style';

// Vue.use(Cell);
// Vue.use(CellGroup);

// // 组件注册
// Vue.use(Stepper);
// Vue.use(Button);

// 搜索框
import { Search, Swipe, SwipeItem, Icon, Tag, List, Cell, Grid, GridItem, DropdownMenu, DropdownItem, Empty, Toast, Tabbar, TabbarItem, Row, Col, Form, Field, Button, Popup,Dialog, Sku, GoodsAction, GoodsActionButton, GoodsActionIcon, Checkbox, CheckboxGroup, Card, SubmitBar, Stepper, SwipeCell, Lazyload } from 'vant';








Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Search);
Vue.use(Icon);
Vue.use(Tag);
Vue.use(List);
Vue.use(Cell);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Empty);
Vue.use(Toast);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Row);
Vue.use(Col);
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Popup);
Vue.use(Dialog);
Vue.use(Sku);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon)
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Card);
Vue.use(SubmitBar);
Vue.use(Stepper);
Vue.use(SwipeCell);
// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true,
  loading: require('../assets/loading.gif')
});